package com.example.demo.mongo;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author wujunyu
 * @date 2020/9/16 14:53
 */
@Data
@Document("db_attention")
public class Attention {
    
    @Id
    private String id;
    
    private String userId;
    
    private String attentionId;
}
